﻿/*功能描述：绩效管理
作者：李周蓬
时间：2021-12-13
修改人：李周蓬
修改时间：2021-12-13*/
using HongStone.Domain.PerformanceModel;
using HongStone.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HongStone.Ince
{
    public interface IPerformance
    {
        ResultData ShowTheAssessmentTask();
        ResultData ShowAssessmentTotal();
        ResultData AddTheAssessmentTask(TheAssessmentTask theAssessmentTask);
        ResultData UpdateTheAssessmentTask(TheAssessmentTask theAssessmentTask);
        ResultData DelTheAssessmentTask(string id);
        ResultData UpdateGuiDang(string id);
        ResultData ShowDeptAssessment(string itemNumber);
        ResultData UpdateKaoHe(string id);
        ResultData ShowProjectAssessment(string name,int year,int deptid,string itemNumber);
        ResultData BindDept();
        ResultData AddProjectAssessment(ProjectAssessment projectAssessment);
        ResultData UpdateProjectAssessment(ProjectAssessment projectAssessment);
        ResultData DelProjectAssessment(string id);
        ResultData BindBudingType();
        ResultData UpdateAssessmentName(ProjectAssessment projectAssessment);
        ResultData UpdateAssessmentNames(ProjectAssessment projectAssessment);
        ResultData DelAssessmentNames(string name);
        ResultData DelAssessmentName(string name);
        ResultData ShowKao(int year, int deptid, string itemNumber, out int totalcount, int pageindex = 1, int pagesize = 3);
        ResultData ShowAssessSchedule(string itemNumber, out int totalcount);
        ResultData UpdateShenPi(string ids);
        ResultData UpdateChongKaoHe(string id);
        ResultData ShowTiao();
        ResultData ShowJi(string itemnumber);
        ResultData ShowTiaokk(string itemnumber, int deptid);
        ResultData ShowSalaryCount(string itemnumber);
        ResultData ShowStaffSalaryCount(int deptid);
        ResultData ShowTiaoXiang(string itemnumber, int deptid);
        ResultData ShowYearBonus(int deptid, int state);
    }
}
